﻿<?php

/**
 * @author Ta Van Chinh
 * @copyright 2014
 */

$images = scandir('news/');
foreach($images as $value){
   if(!in_array($value,array('..','.'))){
      echo '<img src="news/'.$value . '" />';
   }
}

?>